import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element.js'
import './router/config.js'
import * as echarts from 'echarts'
import ApiPlugin from '@/api/index'
import 'nprogress/nprogress.css'
import Public from './Public'
Vue.config.productionTip = false


// 如果是生产环境，可以关闭Vue的开发工具警告
Vue.config.devtools = process.env.NODE_ENV === 'production';

// 如果是生产环境，可以关闭Vue的提示
Vue.config.productionTip = process.env.NODE_ENV === 'production';
Vue.use(ApiPlugin)
Vue.use(Public)
Vue.prototype.$Echarts = echarts

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
